package com.gitee.baqkft.code.core.beans;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Java Bean模型
 * @author chenmingcai
 * @date 2018年5月21日 下午2:08:15 
 *
 */

public class BeanModel
{
	/**
	 * 类名
	 */
	private String clazzName;
	
	/**
	 * 包名
	 */
	private String packageName;
	
	/**
	 * 类描述
	 */
	private String description;
	
	/**
	 * 属性列表
	 */
	private List<String> attrs;
	
	/**
	 * 属性类型表
	 */
	private Map<String, String> attrTypes;
	
	/**
	 * 属性注释
	 */
	private Map<String, String> attrComments;
	
	public BeanModel()
	{
		this.attrs = new ArrayList<String>();
		this.attrTypes = new HashMap<String, String>();
		this.attrComments = new HashMap<String, String>();
	}

	public String getClazzName()
	{
		return clazzName;
	}

	public void setClazzName(String clazzName)
	{
		this.clazzName = clazzName;
	}

	public String getPackageName()
	{
		return packageName;
	}

	public void setPackageName(String packageName)
	{
		this.packageName = packageName;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public List<String> getAttrs()
	{
		return attrs;
	}

	public void setAttrs(List<String> attrs)
	{
		this.attrs = attrs;
	}

	public Map<String, String> getAttrTypes()
	{
		return attrTypes;
	}

	public void setAttrTypes(Map<String, String> attrTypes)
	{
		this.attrTypes = attrTypes;
	}

	public Map<String, String> getAttrComments()
	{
		return attrComments;
	}

	public void setAttrComments(Map<String, String> attrComments)
	{
		this.attrComments = attrComments;
	}
}
